centos 开启防火墙后ftp无法访问解决方案
centos 开启防火墙后ftp无法访问解决方案
linux Iptables trouble
Your question isn’t phrased very well, but the symptoms you describe are indicative of a passive FTP not working correctly in combination with your firewall.
Typically the command insmod nf_conntrack_ftp is sufficient to load the FTP helper module in a badly configured RHEL6 or CentOS firewall.
To make that persistent:
Edit the configuration file /etc/sysconfig/iptables-config and add the helper module nf_conntrack_ftp to the IPTABLES_MODULES variable:
IPTABLES_MODULES="nf_conntrack_ftp"
or add it to any other modules already listed there.

